package com.ktjy.sample.note05and07;

import org.junit.Test;

import java.util.Date;

@SuppressWarnings("all")
public class DeprecatedTest {
    @Deprecated
    public void show1(){}

    public void show2(){}

    @Test
    public void use(){
        Date date = new Date();
        System.out.println(date.getMonth());
    }
}